﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using SMS.Entities;

namespace SMS.Web.Service
{
    [ServiceContract(Namespace = "")]
    interface IProductService
    {
        [OperationContract]
        List<SMS.Entities.Product> SearchProduct(string userName, string searchText,out SMSException serviceError);

        [OperationContract]
        int SaveProduct(string userName, Entities.Product customer, out Entities.SMSException serviceError);
    }
}
